<?php
include("page/outil/header.php");
include("page/outil/panneau_top.php");
include("page/outil/menu.php");
    
if (isset($_GET['route'])) {
    $route = $_GET['route'];
} else {
    $route = "accueil";
}

switch ($route) {
    case "accueil":
        echo "Bienvenue sur l'interface administrative du site UFC.<br/>";
		echo "Grâce au menu situé sur votre gauche, vous pourrez ajouter/modifier et supprimer des éléments.<br/>";
        break;
    case "news":
        include("./controleur/controleur_news.php");
        break;
    case "pays":
        include("./controleur/controleur_pays.php");
        break;
    case "admin":
        include ("./controleur/controleur_admin.php");
        break;
    case "utilisateur":
        include("./controleur/controleur_utilisateur.php");
        break;
    case "categorie":
        include("./controleur/controleur_categorie.php");
        break;
    case "typeart":
        include("./controleur/controleur_typeart.php");
        break;
    case "combattant":
        include("./controleur/controleur_combattant.php");
        break;
    case "historique":
        include("./controleur/controleur_historique.php");
        break;
    case "pays":
        include("./controleur/controleur_pays.php");
        break;
    case "lieu":
        include("./controleur/controleur_lieu.php");
        break;
    case "reunion":
        include("./controleur/controleur_reunion.php");
        break;
    case "combat":
        include("./controleur/controleur_combat.php");
        break;
    case "participer":
        include("./controleur/controleur_participer.php");
        break;
    case "commentaire":
        include("./controleur/controleur_commentaire.php");
        break;
}
include("page/outil/footer.php");
?>